package com.dhcc.bpm.modules.workflow.vo;

import com.dhcc.bpm.modules.workflow.entity.Approve;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;

import java.util.Date;

/**
 * @ClassName ApproveVO
 * @Description  工作流审批表 视图实体类
 * @Author YZC
 * @Date 2019/11/19 14:46
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ApproveVO对象", description = "工作流审批表")
public class ApproveVO extends Approve {
	private static final long serialVersionUID = 1L;
	/**
	 * 接口主键
	 */
	private String apiIds;
	/**
	 * 主键
	 */
	private String ids;

	/**
	 * 产品和api发布类型
	 */
	private String appType;

	/**
	 * 平台发起人登录名
	 */
	private String account;

	/**
	 * 平台发起人登录姓名
	 */
	private String realName;

	/**
	 * 发起审批模式类型
	 */
	private String modeType;
	/**
	 * 发起审批模式类型描述
	 */
	private String modeTypeDesc;

	/**
	 * 发起人联合办公账号
	 */
	private String useruid;
	/**
	 * 并发数
	 */
	@JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
	@ApiModelProperty(value = "并发数")
	private Long applyQps;
	/**
	 * 用户申请每日访问量
	 */
	@JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
	@ApiModelProperty(value = "用户申请每日访问量")
	private Long approvalQps;
	/**
	 * 申请测试开始时间
	 */
	@ApiModelProperty(value = "申请测试开始时间")
	private Date testBeginTime;
	/**
	 * 申请测试结束时间
	 */
	@ApiModelProperty(value = "申请测试结束时间")
	private Date testEndTime;
}
